const http = require('http');
const fs = require('fs');
let server = http.createServer();
server.on('request',(req, res)=>{
	fs.readFile('./history.html',(err,data) => {
		res.end(data);
	});
});
server.listen(8888);